linear equation in 3 variables